package store

type Factory interface {
	WorksheetGroup() WorksheetGroupStore
	WorksheetView() WorksheetViewStore
	WorksheetInfo() WorksheetInfoStore
	WorksheetRows() WorksheetRowsStore
	WorksheetPrint() WorksheetPrintStore
	WorksheetSortCut() WorksheetShortCutStore
	PublicWorksheet() PublicWorksheetStore
	PublicWorksheetExt() PublicWorksheetExtStore

	App() AppStore
	Market() MarketStore
}

var client Factory

// Client return the store client instance.
func Client() Factory {
	return client
}

// SetClient set the iam store client.
func SetClient(factory Factory) {
	client = factory
}
